Update null safety warnings in prep for Dart 3 by mit |
您所在的位置:网站首页 › flutter multiple pages › Update null safety warnings in prep for Dart 3 by mit |
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots. In Dart 3 only sound null safety will be allowed. This PR updates the output of flutter run and flutter build to provide a warning about this ahead of time. The messages link to the dart.dev nulls safety page, which is being updated to state this in dart-lang/site-www#4211. List which issues are fixed by this PR. You must list at least one issue. Contributes to dart-lang/sdk#49530, fixes #111116 If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy. Pre-launch Checklist I read the Contributor Guide and followed the process outlined there for submitting PRs. I read the Tree Hygiene wiki page, which explains my responsibilities. I read and followed the Flutter Style Guide, including Features we expect every widget to implement. I signed the CLA. I listed at least one issue that this PR fixes in the description above. I updated/added relevant documentation (doc comments with ///). I added new tests to check the change I am making, or this PR is test-exempt. All existing and new tests are passing.If you need help, consider asking for advice on the #hackers-new channel on Discord. |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |